import React, { PureComponent } from 'react'

export class App extends PureComponent {

    submit(){
        console.log(111);
    }
  render() {
    return (
      <div>
        <p>form 表单</p>
        {/* <form action="/abc"> */}
        <form >
            <input type="text" name="username" />
            <button type='submit'>提交</button>
        </form>
      </div>
    )
  }
}

export default App